import { GETSEARCHDATA, GETRECOMMENDLIST } from './mutations-type'
export default {
    [GETSEARCHDATA](state, { res }) {
        state.searchData = res
    },
    [GETRECOMMENDLIST](state, res) {
        state.recommendList = state.recommendList.concat(res)
    }
}